package com.example.demo.service;

import com.example.demo.entity.Notation;
import com.example.demo.entity.TheoryKnowledge;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TheoryKnowledgeService {

    //pageNum:当前是第几页    pageSize：每一页多少条数据
    PageInfo<TheoryKnowledge> findTheoryKnowledgePage(Integer pageNum, Integer pageSize);

    List<TheoryKnowledge> findTheoryKnowledgeAll();

    TheoryKnowledge findTheoryKnowledgeById(Integer theory_knowledge_id);

    Integer insertTheoryKnowledge(TheoryKnowledge theoryKnowledge);

    Integer updateTheoryKnowledge(TheoryKnowledge theoryKnowledge);

    Integer deleteTheoryKnowledge(Integer theoryKnowledgeId);

    List<TheoryKnowledge> getHotKnowledges();

}
